<?php

return
[
    'paths' => [
        'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations',
        'seeds' => '%%PHINX_CONFIG_DIR%%/db/seeds'
    ],
    'environments' => [
        'default_migration_table' => 'phinxlog',
        'default_environment' => 'default',
        'default' => [
            'adapter' => env('DB_CONNECTION', 'mysql'),
            'host' => env('MYSQL_HOST', '127.0.0.1'),
            'name' => env('MYSQL_DATABASE', 'database'),
            'user' => env('MYSQL_USERNAME', 'root'),
            'pass' => env('MYSQL_PASSWORD', ''),
            'port' => env('MYSQL_PORT', '3306'),
            'charset' => env('MYSQL_CHARSET', 'utf8'),
            'table_prefix' => env('MYSQL_PREFIX', ''),
        ],
    ],
    'version_order' => 'creation'
];
